package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-接口-mtnphy接口对象 element_port_mtn_phy
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementPortMtnPhy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 单盘 */
    @Excel(name = "单盘")
    private String diskName;

    /** 端口 */
    @Excel(name = "端口")
    private String terminalName;

    /** 端口速率 */
    @Excel(name = "端口速率")
    private String terminalSpeed;

    /** 端口使能 */
    @Excel(name = "端口使能")
    private String terminalEnable;

    /** 端口标注 */
    @Excel(name = "端口标注")
    private String terminalLabel;

    /** 不可用时隙数 */
    @Excel(name = "不可用时隙数")
    private String nonAccessNum;

    /** FEC模式 */
    @Excel(name = "FEC模式")
    private String fecMode;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setDiskName(String diskName) 
    {
        this.diskName = diskName;
    }

    public String getDiskName() 
    {
        return diskName;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setTerminalSpeed(String terminalSpeed) 
    {
        this.terminalSpeed = terminalSpeed;
    }

    public String getTerminalSpeed() 
    {
        return terminalSpeed;
    }
    public void setTerminalEnable(String terminalEnable) 
    {
        this.terminalEnable = terminalEnable;
    }

    public String getTerminalEnable() 
    {
        return terminalEnable;
    }
    public void setTerminalLabel(String terminalLabel) 
    {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() 
    {
        return terminalLabel;
    }
    public void setNonAccessNum(String nonAccessNum) 
    {
        this.nonAccessNum = nonAccessNum;
    }

    public String getNonAccessNum() 
    {
        return nonAccessNum;
    }
    public void setFecMode(String fecMode) 
    {
        this.fecMode = fecMode;
    }

    public String getFecMode() 
    {
        return fecMode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("diskName", getDiskName())
            .append("terminalName", getTerminalName())
            .append("terminalSpeed", getTerminalSpeed())
            .append("terminalEnable", getTerminalEnable())
            .append("terminalLabel", getTerminalLabel())
            .append("nonAccessNum", getNonAccessNum())
            .append("fecMode", getFecMode())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
